#include "rgui.hpp"
#include "RenderObjectHandler.hpp"

namespace rgui
{

void System::onMousePressed(const rgui::vec2i &cursorPosition)
{
	rgui::RenderObjectHandler::onMousePressed(cursorPosition);
}

void System::onMouseReleased(const rgui::vec2i &cursorPosition)
{
	rgui::RenderObjectHandler::onMouseReleased(cursorPosition);
}

void System::update(const rgui::vec2i &cursorPosition)
{
	rgui::RenderObjectHandler::update(cursorPosition);
}

void System::render()
{
	rgui::RenderObjectHandler::render();
}

}